package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Pill;

import java.util.ArrayList;

public interface PillService {
    void add(ArrayList<Pill> data);

    PageResult findPage(QueryPageBean queryPageBean);

    void save(Pill pill);

    void delete(Integer id);

    void edit(Pill pill);

    Pill findById(Integer id);

}
